package sjtu.ist.warehouse4ws.model;



/**
 * CustParameter entity. @author MyEclipse Persistence Tools
 */

public class CustParameter extends Parameter implements java.io.Serializable {


	private String id;
	private String enName;
	private String cnName;
	private String description;
	private String inOutType;
	private Boolean isBuiltIn;
	private String paramTypeId;
	private String paramTypeName;
	private String functionPointId;
	private String collectionType;
	private String restrictions;
	private String fileId;
	private String groupId;
	private String versionId;
    private String uid;
	// Constructors

	/** default constructor */
	public CustParameter() {
	}

	/** minimal constructor */
	public CustParameter(String id) {
		this.id = id;
	}

	/** full constructor */
	public CustParameter(String id, String enName, String cnName,
			String description, String inOutType, Boolean isBuiltIn,
			String paramTypeId, String paramTypeName, String functionPointId,
			String collectionType, String restrictions, String fileId,
			String groupId, String versionId) {
		this.id = id;
		this.enName = enName;
		this.cnName = cnName;
		this.description = description;
		this.inOutType = inOutType;
		this.isBuiltIn = isBuiltIn;
		this.paramTypeId = paramTypeId;
		this.paramTypeName = paramTypeName;
		this.functionPointId = functionPointId;
		this.collectionType = collectionType;
		this.restrictions = restrictions;
		this.fileId = fileId;
		this.groupId = groupId;
		this.versionId = versionId;
	}
	
	public CustParameter(Parameter p) {
		this.id = p.getId();
		this.enName = p.getEnName();
		this.cnName = p.getCnName();
		this.description = p.getDescription();
		this.fileId = p.getFileId();
		this.groupId = p.getGroupId();
		this.versionId = p.getVersionId();
		this.uid=p.getUid();
		this.inOutType = p.getInOutType();
		this.isBuiltIn = p.getIsBuiltIn();
		this.paramTypeId = p.getParamTypeId();
		this.paramTypeName = p.getParamTypeName();
		this.functionPointId = p.getFunctionPointId();
		this.collectionType = p.getCollectionType();
		this.restrictions = p.getRestrictions();
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEnName() {
		return this.enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getCnName() {
		return this.cnName;
	}

	public void setCnName(String cnName) {
		this.cnName = cnName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getInOutType() {
		return this.inOutType;
	}

	public void setInOutType(String inOutType) {
		this.inOutType = inOutType;
	}

	public Boolean getIsBuiltIn() {
		return this.isBuiltIn;
	}

	public void setIsBuiltIn(Boolean isBuiltIn) {
		this.isBuiltIn = isBuiltIn;
	}

	public String getParamTypeId() {
		return this.paramTypeId;
	}

	public void setParamTypeId(String paramTypeId) {
		this.paramTypeId = paramTypeId;
	}

	public String getParamTypeName() {
		return this.paramTypeName;
	}

	public void setParamTypeName(String paramTypeName) {
		this.paramTypeName = paramTypeName;
	}

	public String getFunctionPointId() {
		return this.functionPointId;
	}

	public void setFunctionPointId(String functionPointId) {
		this.functionPointId = functionPointId;
	}

	public String getCollectionType() {
		return this.collectionType;
	}

	public void setCollectionType(String collectionType) {
		this.collectionType = collectionType;
	}

	public String getRestrictions() {
		return this.restrictions;
	}

	public void setRestrictions(String restrictions) {
		this.restrictions = restrictions;
	}

	public String getFileId() {
		return this.fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getVersionId() {
		return this.versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

}